package com.jpa.repository.dy;

import com.jpa.entity.dy.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("dyUserRepository")
public interface UserRepository extends JpaRepository<User, Integer> {

    List<User> findUserByUserName(String userName);

}
